Optimal. Leaf size=119 \[ \frac {256 a^4 \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {64 a^3 \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{35 d}+\frac {24 a^2 (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{35 d}+\frac {2 a (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{7 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2726, 2725}
\begin {gather*} \frac {256 a^4 \sin (c+d x)}{35 d \sqrt {a \cos (c+d x)+a}}+\frac {64 a^3 \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{35 d}+\frac {24 a^2 \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{35 d}+\frac {2 a \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{7 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2725
Rule 2726
Rubi steps
\begin {align*} \int (a+a \cos (c+d x))^{7/2} \, dx &=\frac {2 a (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{7 d}+\frac {1}{7} (12 a) \int (a+a \cos (c+d x))^{5/2} \, dx\\ &=\frac {24 a^2 (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{35 d}+\frac {2 a (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{7 d}+\frac {1}{35} \left (96 a^2\right ) \int (a+a \cos (c+d x))^{3/2} \, dx\\ &=\frac {64 a^3 \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{35 d}+\frac {24 a^2 (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{35 d}+\frac {2 a (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{7 d}+\frac {1}{35} \left (128 a^3\right ) \int \sqrt {a+a \cos (c+d x)} \, dx\\ &=\frac {256 a^4 \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {64 a^3 \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{35 d}+\frac {24 a^2 (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{35 d}+\frac {2 a (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{7 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.17, size = 83, normalized size = 0.70 \begin {gather*} \frac {a^3 \sqrt {a (1+\cos (c+d x))} \sec \left (\frac {1}{2} (c+d x)\right ) \left (1225 \sin \left (\frac {1}{2} (c+d x)\right )+245 \sin \left (\frac {3}{2} (c+d x)\right )+49 \sin \left (\frac {5}{2} (c+d x)\right )+5 \sin \left (\frac {7}{2} (c+d x)\right )\right )}{140 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 86, normalized size = 0.72
method | result | size |
default | \(\frac {16 a^{4} \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (5 \left (\cos ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+6 \left (\cos ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+8 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+16\right ) \sqrt {2}}{35 \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d}\) | \(86\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 77, normalized size = 0.65 \begin {gather*} \frac {{\left (5 \, \sqrt {2} a^{3} \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 49 \, \sqrt {2} a^{3} \sin \left (\frac {5}{2} \, d x + \frac {5}{2} \, c\right ) + 245 \, \sqrt {2} a^{3} \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 1225 \, \sqrt {2} a^{3} \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{140 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 75, normalized size = 0.63 \begin {gather*} \frac {2 \, {\left (5 \, a^{3} \cos \left (d x + c\right )^{3} + 27 \, a^{3} \cos \left (d x + c\right )^{2} + 71 \, a^{3} \cos \left (d x + c\right ) + 177 \, a^{3}\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{35 \, {\left (d \cos \left (d x + c\right ) + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.60, size = 108, normalized size = 0.91 \begin {gather*} \frac {\sqrt {2} {\left (5 \, a^{3} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 49 \, a^{3} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {5}{2} \, d x + \frac {5}{2} \, c\right ) + 245 \, a^{3} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 1225 \, a^{3} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{140 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a+a\,\cos \left (c+d\,x\right )\right )}^{7/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________